//
//  SectionHeader.h
//  DownloadManagerDemo
//
//  Created by ejiang on 2021/12/10.
//

#import <UIKit/UIKit.h>

typedef void(^ClickBlock)(BOOL isSelected);
typedef void(^ChangeMaxNumBlock)(void);

NS_ASSUME_NONNULL_BEGIN

@interface SectionHeader : UIView

@property (nonatomic, strong) UILabel * titleLabel;

@property (nonatomic, strong) UIButton * actionButton;

@property (nonatomic, strong) UIButton * maxNumButton;

- (void)configClickBlock:(ClickBlock)block;

- (void)configChangeMaxNumBlock:(ChangeMaxNumBlock)block;

@end

NS_ASSUME_NONNULL_END
